#ifndef __HIKARI_rotation___FILE__DEFINED
#define __HIKARI_rotation___FILE__DEFINED

#include "hikari.h"

class rotation:public BaseHikariScript{
	float x;
public:
//PLEASE DO NOT MODIFY THIS SECTION
//PROPERTIES_SECTION_START
//PROPERTIES_SECTION_END
    virtual void sceneLoaded(HObj*object, HikariContext*context){
	x=0;
	}
	//virtual void sceneUnloading(HObj*object, HikariContext*context){}
	virtual void update(HObj*object, HikariContext*context){
		object->turnZ(2);
		//object->getInternalNode()->setsetRotation(vector3df(45,20,x));
		x+=1;
	}
    
	IMPLEMENT_RTTI(rotation, BaseHikariScript);
};
BEGIN_REFLECTION_METADATA(rotation, base_rtti_object)
END_REFLECTION_METADATA(rotation)
#endif